.class Lcom/wmr/order/OrderlistActivity$1;
.super Landroid/os/Handler;
.source "OrderlistActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/wmr/order/OrderlistActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/wmr/order/OrderlistActivity;


# direct methods
.method constructor <init>(Lcom/wmr/order/OrderlistActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    .line 111
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 11
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    const/4 v10, 0x1

    .line 113
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 114
    iget v0, p1, Landroid/os/Message;->arg1:I

    sparse-switch v0, :sswitch_data_0

    .line 188
    :goto_0
    :sswitch_0
    return-void

    .line 118
    :sswitch_1
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    # invokes: Lcom/wmr/order/OrderlistActivity;->onLoad()V
    invoke-static {v0}, Lcom/wmr/order/OrderlistActivity;->access$7(Lcom/wmr/order/OrderlistActivity;)V

    .line 119
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "nologin"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 120
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    invoke-virtual {v0}, Lcom/wmr/order/OrderlistActivity;->waitlogin()V

    goto :goto_0

    .line 123
    :cond_0
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    # getter for: Lcom/wmr/order/OrderlistActivity;->mcontext:Landroid/content/Context;
    invoke-static {v0}, Lcom/wmr/order/OrderlistActivity;->access$8(Lcom/wmr/order/OrderlistActivity;)Landroid/content/Context;

    move-result-object v0

    const-string v1, "\u63d0\u793a\u4fe1\u606f"

    iget-object v2, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v1, v2}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 131
    :sswitch_2
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    # invokes: Lcom/wmr/order/OrderlistActivity;->onLoad()V
    invoke-static {v0}, Lcom/wmr/order/OrderlistActivity;->access$7(Lcom/wmr/order/OrderlistActivity;)V

    .line 132
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    # getter for: Lcom/wmr/order/OrderlistActivity;->mcontext:Landroid/content/Context;
    invoke-static {v0}, Lcom/wmr/order/OrderlistActivity;->access$8(Lcom/wmr/order/OrderlistActivity;)Landroid/content/Context;

    move-result-object v0

    const-string v1, "\u8fd4\u56de\u7ed3\u679c\u4e3a\u7a7a"

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_0

    .line 136
    :sswitch_3
    const-string v0, "xxxxx"

    const-string v1, "\u52a0\u8f7d\u5b8c\u6bd5"

    invoke-static {v0, v1}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 137
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    # getter for: Lcom/wmr/order/OrderlistActivity;->page:I
    invoke-static {v0}, Lcom/wmr/order/OrderlistActivity;->access$9(Lcom/wmr/order/OrderlistActivity;)I

    move-result v0

    if-ne v0, v10, :cond_1

    .line 138
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    # getter for: Lcom/wmr/order/OrderlistActivity;->orderls:Ljava/util/List;
    invoke-static {v0}, Lcom/wmr/order/OrderlistActivity;->access$2(Lcom/wmr/order/OrderlistActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 140
    :cond_1
    const/4 v8, 0x0

    .local v8, "i":I
    :goto_1
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    # getter for: Lcom/wmr/order/OrderlistActivity;->temporderls:Ljava/util/List;
    invoke-static {v0}, Lcom/wmr/order/OrderlistActivity;->access$10(Lcom/wmr/order/OrderlistActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lt v8, v0, :cond_2

    .line 144
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    # getter for: Lcom/wmr/order/OrderlistActivity;->page:I
    invoke-static {v0}, Lcom/wmr/order/OrderlistActivity;->access$9(Lcom/wmr/order/OrderlistActivity;)I

    move-result v0

    if-ne v0, v10, :cond_3

    .line 145
    iget-object v9, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    new-instance v0, Ldata/OrderData;

    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    .line 146
    iget-object v2, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    # getter for: Lcom/wmr/order/OrderlistActivity;->orderls:Ljava/util/List;
    invoke-static {v2}, Lcom/wmr/order/OrderlistActivity;->access$2(Lcom/wmr/order/OrderlistActivity;)Ljava/util/List;

    move-result-object v2

    iget-object v3, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    invoke-virtual {v3}, Lcom/wmr/order/OrderlistActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v3

    .line 147
    iget-object v4, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    # getter for: Lcom/wmr/order/OrderlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;
    invoke-static {v4}, Lcom/wmr/order/OrderlistActivity;->access$3(Lcom/wmr/order/OrderlistActivity;)Lcom/wmr/Lstview/XListView;

    move-result-object v4

    iget-object v5, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    iget-object v5, v5, Lcom/wmr/order/OrderlistActivity;->h:Landroid/os/Handler;

    iget-object v6, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    # getter for: Lcom/wmr/order/OrderlistActivity;->isEdite:Z
    invoke-static {v6}, Lcom/wmr/order/OrderlistActivity;->access$4(Lcom/wmr/order/OrderlistActivity;)Z

    move-result v6

    invoke-direct/range {v0 .. v6}, Ldata/OrderData;-><init>(Landroid/content/Context;Ljava/util/List;Landroid/content/Context;Landroid/widget/ListView;Landroid/os/Handler;Z)V

    .line 145
    invoke-static {v9, v0}, Lcom/wmr/order/OrderlistActivity;->access$5(Lcom/wmr/order/OrderlistActivity;Ldata/OrderData;)V

    .line 148
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    # getter for: Lcom/wmr/order/OrderlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;
    invoke-static {v0}, Lcom/wmr/order/OrderlistActivity;->access$3(Lcom/wmr/order/OrderlistActivity;)Lcom/wmr/Lstview/XListView;

    move-result-object v0

    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    # getter for: Lcom/wmr/order/OrderlistActivity;->orderAdapter:Ldata/OrderData;
    invoke-static {v1}, Lcom/wmr/order/OrderlistActivity;->access$6(Lcom/wmr/order/OrderlistActivity;)Ldata/OrderData;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/wmr/Lstview/XListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 149
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    # getter for: Lcom/wmr/order/OrderlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;
    invoke-static {v0}, Lcom/wmr/order/OrderlistActivity;->access$3(Lcom/wmr/order/OrderlistActivity;)Lcom/wmr/Lstview/XListView;

    move-result-object v0

    invoke-virtual {v0, v10}, Lcom/wmr/Lstview/XListView;->setPullLoadEnable(Z)V

    .line 153
    :goto_2
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    # invokes: Lcom/wmr/order/OrderlistActivity;->onLoad()V
    invoke-static {v0}, Lcom/wmr/order/OrderlistActivity;->access$7(Lcom/wmr/order/OrderlistActivity;)V

    goto/16 :goto_0

    .line 141
    :cond_2
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    # getter for: Lcom/wmr/order/OrderlistActivity;->temporderls:Ljava/util/List;
    invoke-static {v0}, Lcom/wmr/order/OrderlistActivity;->access$10(Lcom/wmr/order/OrderlistActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Lbean/OrderBean;

    .line 142
    .local v7, "cc":Lbean/OrderBean;
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    # getter for: Lcom/wmr/order/OrderlistActivity;->orderls:Ljava/util/List;
    invoke-static {v0}, Lcom/wmr/order/OrderlistActivity;->access$2(Lcom/wmr/order/OrderlistActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, v7}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 140
    add-int/lit8 v8, v8, 0x1

    goto :goto_1

    .line 151
    .end local v7    # "cc":Lbean/OrderBean;
    :cond_3
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    # getter for: Lcom/wmr/order/OrderlistActivity;->orderAdapter:Ldata/OrderData;
    invoke-static {v0}, Lcom/wmr/order/OrderlistActivity;->access$6(Lcom/wmr/order/OrderlistActivity;)Ldata/OrderData;

    move-result-object v0

    invoke-virtual {v0}, Ldata/OrderData;->notifyDataSetChanged()V

    goto :goto_2

    .line 162
    .end local v8    # "i":I
    :sswitch_4
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    invoke-static {v0, v10}, Lcom/wmr/order/OrderlistActivity;->access$11(Lcom/wmr/order/OrderlistActivity;I)V

    .line 163
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    # invokes: Lcom/wmr/order/OrderlistActivity;->onLoad()V
    invoke-static {v0}, Lcom/wmr/order/OrderlistActivity;->access$7(Lcom/wmr/order/OrderlistActivity;)V

    .line 164
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    invoke-virtual {v0}, Lcom/wmr/order/OrderlistActivity;->onRefresh()V

    goto/16 :goto_0

    .line 168
    :sswitch_5
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    # invokes: Lcom/wmr/order/OrderlistActivity;->onLoad()V
    invoke-static {v0}, Lcom/wmr/order/OrderlistActivity;->access$7(Lcom/wmr/order/OrderlistActivity;)V

    .line 170
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    invoke-virtual {v0}, Lcom/wmr/order/OrderlistActivity;->orderls_fresh()V

    goto/16 :goto_0

    .line 175
    :sswitch_6
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    # getter for: Lcom/wmr/order/OrderlistActivity;->mcontext:Landroid/content/Context;
    invoke-static {v0}, Lcom/wmr/order/OrderlistActivity;->access$8(Lcom/wmr/order/OrderlistActivity;)Landroid/content/Context;

    move-result-object v0

    const-string v1, "\u5b9a\u4f4d\u4fe1\u606f"

    iget-object v2, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    # getter for: Lcom/wmr/order/OrderlistActivity;->m:Lmyapp/MyApp;
    invoke-static {v2}, Lcom/wmr/order/OrderlistActivity;->access$12(Lcom/wmr/order/OrderlistActivity;)Lmyapp/MyApp;

    move-result-object v2

    invoke-virtual {v2}, Lmyapp/MyApp;->getMapname()Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v1, v2}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 178
    :sswitch_7
    const-string v0, "\u6309\u94ae\u70b9\u51fb"

    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 179
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    # getter for: Lcom/wmr/order/OrderlistActivity;->orderls:Ljava/util/List;
    invoke-static {v0}, Lcom/wmr/order/OrderlistActivity;->access$2(Lcom/wmr/order/OrderlistActivity;)Ljava/util/List;

    move-result-object v0

    iget v1, p1, Landroid/os/Message;->arg2:I

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Lbean/OrderBean;

    .line 180
    .restart local v7    # "cc":Lbean/OrderBean;
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    iget v1, p1, Landroid/os/Message;->arg2:I

    invoke-static {v0, v1}, Lcom/wmr/order/OrderlistActivity;->access$13(Lcom/wmr/order/OrderlistActivity;I)V

    .line 181
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity$1;->this$0:Lcom/wmr/order/OrderlistActivity;

    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v7, v1}, Lcom/wmr/order/OrderlistActivity;->orderdo(Lbean/OrderBean;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 114
    :sswitch_data_0
    .sparse-switch
        0x0 -> :sswitch_0
        0x1 -> :sswitch_1
        0x2 -> :sswitch_2
        0x3 -> :sswitch_3
        0x4 -> :sswitch_0
        0x5 -> :sswitch_5
        0xa -> :sswitch_0
        0x19 -> :sswitch_4
        0x64 -> :sswitch_7
        0x6f -> :sswitch_6
    .end sparse-switch
.end method
